﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace hkm1._2
{
    public partial class 实验1_3__2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int i, j, z; char x = 'A';
            for (i = 1; i <= 3; i++)
            {
                for (j = 3; j > i; j--)
                    Response.Write("&nbsp;&nbsp;");
                for (z = 1; z <= i * 2 - 1; z++, x++)
                    Response.Write(x);
                Response.Write("</br>");
            }
            for (i = 1; i < 3; i++)
            {
                for (j = 1; j <= i; j++)
                    Response.Write("&nbsp;&nbsp;");
                for (z = 3; z >= i * 2 - 1; z--, x++)
                    Response.Write(x);
                Response.Write("</br>");
            }
        }
    }
}